/* API接口列表 */
import http from './http'

import {
  userLoginUrl,
  logisticsQueryUrl,
} from './url'

// 第一部分：用户登录
export const userLogin = (params = {}) => {
  return http.post(userLoginUrl, params);
};

export const logisticsQuery = (params = {}) => {
  return http.get(logisticsQueryUrl, params);
};

// const getToken = () => {
//     // wx.clearStorageSync()
//     // wx.setStorageSync('token', resData.data.token)
//     // wx.setStorageSync('sessionKey', resData.data.session_key)
// }

